package com.yx.modules.api.service;


import com.yx.common.utils.Query;
import com.yx.modules.api.entity.TbBookComment;

import java.util.List;
import java.util.Map;

/**
 * 图书评论
 *
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-11 14:11:37
 */
public interface TbBookCommentService {

    TbBookComment queryObject(Integer id);

    List<TbBookComment> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbBookComment bookComment);

    void update(TbBookComment bookComment);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    List<TbBookComment> findByReplyFristId(Integer id);

    List<TbBookComment> queryList1(Query query);

    int queryTotal1(Query query);
}
